package com.lzc.camera.common;

/**
 * discription断言处理类，用于抛出各种API异常
 *
 * @author robot
 * @date 2022/7/16 10:23
 */
public class Asserts {
    public static void fail(String message) {
        throw new ApiException(message);
    }

    public static void fail(IErrorCode errorCode) {
        throw new ApiException(errorCode);
    }
}
